package com.neuedu.dao;

import com.neuedu.pojo.Food;

import java.util.List;

public interface FoodDao {
    Integer addFood(String foodName, String foodExplain, String foodImg, String foodPrice, String shopId, String remarks, String stock, String status, String categoryId, String recommend, String hot) throws Exception;

    Integer updateFood(String foodName, String foodExplain, String foodImg, String foodPrice, String remarks, String stock, String status, String categoryId, String foodId) throws Exception;

    Integer delFood(String foodId) throws Exception;

    List<Food> getFood(String currentPage, String pageSize, String foodName, String categoryId, String shopId) throws Exception;

    Long countFood(String shopId) throws Exception;
}
